﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HRM.Model
{
    public interface IFunction
    {
        List<ChucNang> GetFunctions(NguoiSuDung user);

        bool Update(ChucNang cn);
    }

    public partial class ChucNang
    {
        public ChucNang(int id, string name, string group)
        {
            MaChucNang = id;
            Ten = name;
            Nhom = group;
        }
    }
}
